package com._58city.spark.app.redis;

/**
 * @author lihao redis的静态变量，主要是各个队列的key
 */
public class Constant {
	public static final int redis_10m = 60 * 10;
	public static final int redis_1h = 60 * 60;
	public static final int redis_2h = redis_1h * 2;
	public static final int redis_1d = redis_1h * 24;
	public static final int redis_2d = redis_1d * 2;
	public static final int redis_7d = redis_1d * 7;
	public static final int redis_8d = redis_1d * 8;
	
	
	public static final String TRACK_REDIS_QUEUE_KEY = "track_queue"; // 流量的key
	public static final String COOKIE_REDIS_QUEUE_KEY_PC = "cookie_queue_-1_%s"; // cookie key
	public static final String COOKIE_REDIS_QUEUE_KEY_M = "cookie_queue_0_%s";
	public static final String COOKIE_REDIS_QUEUE_KEY_APP = "cookie_queue_2_%s";
	public static final String TRACK_REDIS_QUEUE_KEY_TMP = "track_queue_tmp"; // 流量的key

	public static final String CPC_DISPLAY_REDIS_QUEUE_KEY = "cpc_display_queue"; // cpc
																					// display的key
	public static final String CPC_CLICK_REDIS_QUEUE_KEY = "cpc_click_queue"; // cpc
																				// click的key
	public static final String IMC_ADD_REDIS_QUEUE_KEY = "imc_add_queue"; // imc_add的key
	public static final String RESUME_ADD_REDIS_QUEUE_KEY = "resume_add_queue";

	public static final String redis_cate_dict = "redis_cate_dict"; // cate字典表的key
	// public static final String redis_belong_cate_dict =
	// "redis_belong_cate_dict"; //belong_cate字典表的key
	// public static final String redis_imc_source_dict =
	// "redis_imc_source_dict"; //IMC SOURCE字典表的key

	public static final String DETAILS_CLICK = "details_click"; // 点击详细日志的key
	public static final String SEARCH_WORD_TRACK = "search_word_track"; // 搜索词的key

	public static final String INFO_CUST_SUM = "all_info_cust_sum";// 信息数据 -
																	// 日累计发布人数

}
